{#
 This Source Code Form is subject to the terms of the Mozilla Public
 License, v. 2.0. If a copy of the MPL was not distributed with this
 file, You can obtain one at https://mozilla.org/MPL/2.0/.
#}

{% extends "base-protocol-mozilla.html" %}

{# analytics #}
{% set _utm_source = info.utm_source %}
{% set _utm_campaign = info.utm_campaign %}
{% set referrals = '?utm_source=www.mozilla.org&utm_medium=referral&utm_campaign=' + _utm_campaign %}

{% set show_send_to_device = LANG in settings.SEND_TO_DEVICE_LOCALES %}
{% set android_url = play_store_url('firefox', _utm_campaign) %}
{% set ios_url = app_store_url('firefox', _utm_campaign) %}

{# meta data #}
{% block page_title %}{{ info.title }}{% endblock %}
{% block page_desc %}{{ info.blurb }}{% endblock %}
{% if info.image != '' %}
{% block page_image %}{{ info.image }}{% endblock %}
{% endif %}
{% block page_og_title %}{{ info.title }}{% endblock %}
{% block page_og_desc %}{{ info.blurb }}{% endblock %}

{% block page_css %}
  {% include 'includes/contentful/css.html' %}
{% endblock %}

{% block body_class %}wmo-contentful{% endblock %}


{% block content %}
<main>

  {% include 'includes/contentful/all.html' %}

</main>
{% endblock %}


{% block js %}
  {% include 'includes/contentful/js.html' %}
{% endblock %}
